package cn.shop.admin.req;

import cn.shop.utils.enums.WithdrawSolution;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 批量提现
 *
 * @author jzw
 * @since 2021-11-12 10:45
 */
@Data
public class BatchWithdrawReq {

	/**
	 * 提现订单
	 */
	@NotEmpty(message = "请选择订单")
	@NotNull(message = "请选择订单")
	@Size(min = 1, message = "请选择订单")
	private List<Long> ids;

	/**
	 * 提现类型
	 */
	@NotNull
	private WithdrawSolution type;

	@NotBlank(message = "请输入交易密码")
	private String pwd;

	//@NotBlank(message = "请输入支付密码")
	private String paymentPassword;

	//@NotNull(message = "请选择付款通道")
	private Long id;

	private String scheme;
}
